<template>
  <div class="desc_content">
    <h3>{{info.title}}</h3>

    <hr>
    <div class="content">
      {{info.content}}
    </div>
  </div>
</template>
<script>
import "../../../aaa_lianxi/mock_goodsDesc.js";
export default {
  data() {
    return {
      info: {}
    };
  },
  created() {this.getInfo()},
  methods: {
    getInfo() {
      // this.$route.params.id
      this.$http.get("/home/goodsdesc").then(
        res => {
          // console.log(res);

          this.info = res.body.message[0];
        },
        err => {}
      );
    }
  }
};
</script>

<style lang="scss" scoped>
.desc_content {
  padding: 4px;
  h3 {
    color: rgb(245, 0, 184);
    margin: 10px 0;
    font-size: 15px;
    text-align: center;
  }
  // .sub_title{
  //     margin: 0 5px;
  //     display: flex;
  //     justify-content: space-between;
  // }
  .content {
    margin: 5px 5px;
  }
}
</style>
